Skip to content

Conversation

@rv32ima
Copy link
Member

@rv32ima rv32ima commented Nov 8, 2021

This PR implements support for binary literals. This code is incredibly similar to the code that is used for hex literal parsing, with some very minor modifications. As such, it suffers from the similar pitfalls (i.e. with underscores, it will over-allocate).

This feature is primarily needed for Mir Ion.

@rv32ima rv32ima requested a review from 9il November 8, 2021 17:51
@rv32ima rv32ima force-pushed the implement-binary-literals branch from b9d3df2 to 4a365ac Compare November 10, 2021 16:56
@rv32ima
Copy link
Member Author

rv32ima commented Nov 10, 2021

Added in the test requested. Let me know if this needs anything else!

@9il 9il merged commit 1e3f359 into master Nov 11, 2021
@9il 9il deleted the implement-binary-literals branch November 11, 2021 07:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants